#include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<algorithm>
#include<cmath>
#include<string.h>
using namespace std; 

int main()
{   
  int n,x,y;
  cin>>n;
  for(int i=0;i<n;i++)
  {
     cin>>x>>y;
     if( x!=y && (x-y)!=2 )   {cout<<"No Number"<<endl;continue;}
     if( x%2==0 )  cout<<x+y<<endl;
     else cout<<x+y-1<<endl;
  }
  //system("pause");  
  return 0;
}
